/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package query.parser.entities;

/**
 *
 * @author dzb
 */
public class Table extends AliasedEntity {

	private String name;
	private SelectStament st;

	public Table() {

	}

	@Override
	public String getValue() {
		//return alias != null ? name : String.format( "%s (%s)", name, alias.getName() );
		return "("+st.toString()+")";
	}
}
